package com.springboot.astra.bean;

import java.util.List;

public class Postmain {
    private Integer postmainId;
    private String postTitle;
    private Integer userId;
    private Integer itTheme;
    private Integer weight;
    private String createTime;
    private String upCount;
    private Boolean canReply;
    private Boolean isDelete;
    private Boolean isPostReport;
    private User user;
    private Theme theme;
    private Postbody postbody;
    private List<Reply> replys;

    public Postmain() {
    }

    public Postmain(Integer postmainId, String postTitle, Integer weight, String createTime, String upCount, Boolean canReply, Boolean isDelete, User user, Theme theme, Postbody postbody, List<Reply> replys) {
        this.postmainId = postmainId;
        this.postTitle = postTitle;
        this.weight = weight;
        this.createTime = createTime;
        this.upCount = upCount;
        this.canReply = canReply;
        this.isDelete = isDelete;
        this.user = user;
        this.theme = theme;
        this.postbody = postbody;
        this.replys = replys;
    }

    public Postmain(Integer postmainId, String postTitle, Integer userId, Integer itTheme, Integer weight, String createTime, String upCount, Boolean canReply, Boolean isDelete, Boolean isPostReport, User user, Theme theme, Postbody postbody, List<Reply> replys) {
        this.postmainId = postmainId;
        this.postTitle = postTitle;
        this.userId = userId;
        this.itTheme = itTheme;
        this.weight = weight;
        this.createTime = createTime;
        this.upCount = upCount;
        this.canReply = canReply;
        this.isDelete = isDelete;
        this.isPostReport = isPostReport;
        this.user = user;
        this.theme = theme;
        this.postbody = postbody;
        this.replys = replys;
    }

    public Boolean getPostReport() {
        return isPostReport;
    }

    public void setPostReport(Boolean postReport) {
        isPostReport = postReport;
    }

    public Integer getItTheme() {
        return itTheme;
    }

    public void setItTheme(Integer itTheme) {
        this.itTheme = itTheme;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Postbody getPostbody() {
        return postbody;
    }

    public void setPostbody(Postbody postbody) {
        this.postbody = postbody;
    }

    public Integer getPostmainId() {
        return postmainId;
    }

    public void setPostmainId(Integer postmainId) {
        this.postmainId = postmainId;
    }

    public String getPostTitle() {
        return postTitle;
    }

    public void setPostTitle(String postTitle) {
        this.postTitle = postTitle;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpCount() {
        return upCount;
    }

    public void setUpCount(String upCount) {
        this.upCount = upCount;
    }

    public Boolean getCanReply() {
        return canReply;
    }

    public void setCanReply(Boolean canReply) {
        this.canReply = canReply;
    }

    public Boolean getDelete() {
        return isDelete;
    }

    public void setDelete(Boolean delete) {
        isDelete = delete;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Theme getTheme() {
        return theme;
    }

    public void setTheme(Theme theme) {
        this.theme = theme;
    }

    public List<Reply> getReplys() {
        return replys;
    }

    public void setReplys(List<Reply> replys) {
        this.replys = replys;
    }
}
